package com.glx.learn_spring.learn_spring_06_di_constructor.dao.impl;


import com.glx.learn_spring.learn_spring_06_di_constructor.dao.IBookDao;

/**
 * @author haoli
 * @create 2022/11/30 17:44
 */
public class BookDaoImpl implements IBookDao {

    private final int connectionNumber;
    private final String databaseName;

    public BookDaoImpl(int connectionNumber, String databaseName) {
        this.connectionNumber = connectionNumber;
        this.databaseName = databaseName;
    }

    @Override
    public void save() {
        System.out.println("bookDao save" + "[connectionNumber=" + connectionNumber + ",databaseName=" + databaseName + "] ...");
    }
}
